package com.chendx.store.api.user;

import com.chendx.model.common.dtos.ResponseResult;
import com.chendx.model.user.dto.RegisterDto;

/**
 * Created by chendx on 2022/4/27.
 */
public interface RegisterControllerApi {
    /**
     * app端注册
     * @param dto
     * @return
     */
    public ResponseResult register(RegisterDto dto);

    /**
     * 是否存在手机号
     * @param phone
     * @return
     */
    public ResponseResult existPhone(String phone);
    /**
     * 是否存在用户名
     * @param name
     * @return
     */
    public ResponseResult existName(String name);
}
